home *** CD-ROM | disk | FTP | other *** search
/ SGI Enlighten DSM 1.1 / SGI EnlightenDSM 1.1.iso / hp10x / common.z / common / config / cmds next >
Text File  |  1998-06-30  |  8KB  |  231 lines

  1. #
  2. # Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
  3. #                      -- All Rights Reserved --
  4. #
  5.  
  6. #
  7. # Cmds file for HP/UX 9.04
  8. #
  9.  
  10. AT                /usr/bin/at
  11. BANNER            /usr/bin/banner
  12. ACCEPT            /usr/sbin/accept %
  13. ALLPRINTERS       cd /usr/spool/lp/member; /usr/bin/ls
  14. ALLPRINTCLASS     cd /usr/spool/lp/member; /usr/bin/ls; \
  15.                   cd /usr/spool/lp/class ; /usr/bin/ls
  16. ATTPS             /usr/bin/ps
  17. ATTPSEF           /usr/bin/ps -ef | $ENLIGHTEN/bin/e_col \
  18.                   0:8L8 8:6r6 14:7r7 21:3R3 24:9R10 8:1l1 33:8L11 40:0-0
  19. ENLCANCEL         /usr/bin/cancel %
  20. CAT               /usr/bin/cat '%'
  21. DFTFIX            /usr/bin/df -t
  22. DICT1             /usr/bin/echo
  23. DICT2             /usr/bin/cat $ENLIGHTEN/config/names
  24. DICT3             /usr/bin/cat $ENLIGHTEN/config/names
  25. DISABLE           /usr/bin/disable -r"Disabled by system administrator" %
  26. ENABLE            /usr/bin/enable %
  27. FILETYPE          /usr/bin/file '%'
  28. #FSCK             /usr/sbin/fsck %
  29.  
  30. FUSER             /usr/sbin/fuser % 2> /dev/null | /usr/bin/tr ' ' '\\012' | \
  31.                   /usr/bin/sort -u
  32. DUS               /usr/bin/du -s % | \
  33.                   /usr/bin/awk ' { printf "\%d\\n", ($$1 + 1) / 2 } '
  34.  
  35. GETMODELS         /usr/bin/ls %
  36. LPADMIN           /usr/sbin/lpadmin %
  37. LPSCHED           /usr/sbin/lpsched
  38. LPSHUT            /usr/sbin/lpshut 2> /dev/null
  39. LPSTATA           /usr/bin/lpstat -a
  40. LPSTATC           /usr/bin/lpstat -c
  41. LPSTATD           /usr/bin/lpstat -d
  42. LPSTATO           /usr/bin/lpstat -o
  43. LPSTATP           /usr/bin/lpstat -p
  44. LPSTATR           /usr/bin/lpstat -r
  45. LPSTATV           /usr/bin/lpstat -v
  46. MAIL              /usr/bin/mail %
  47. MKDIR             /usr/bin/mkdir %
  48. MKNOD             /usr/sbin/mknod %
  49. NEWALIASES        /usr/bin/newaliases
  50. PACK              /usr/bin/pack
  51. RETENSION         /usr/bin/mt -f % retension
  52. RMFR              /usr/bin/rm -fr "%"
  53. RUPTIME           /usr/bin/ruptime -a
  54. RWHOA             /usr/bin/rwho -a
  55. SHELL             /usr/bin/sh
  56. UCBWHO            /usr/bin/who
  57. WHO               /usr/bin/who -u
  58. WHOU              $ENLIGHTEN/bin/whou
  59.  
  60. # Command to create any type of login initialization scripts
  61. RCCMD             /usr/bin/sh $ENLIGHTEN/scripts/user.rc %
  62.  
  63. BACKEND           $ENLIGHTEN/bin/backend
  64. COMPLETION        $ENLIGHTEN/bin/p_completion
  65. DFT               $ENLIGHTEN/bin/dft
  66. EPOOL             $ENLIGHTEN/bin/e_pool
  67. ERASE             $ENLIGHTEN/bin/erase -v %
  68. HEXED             $ENLIGHTEN/bin/hexed '%'
  69. LPMOVE            $ENLIGHTEN/bin/p_lpmove %
  70. MAKENIS           /usr/bin/sh $ENLIGHTEN/config/makenis %
  71. MYA2PS            $ENLIGHTEN/bin/psgen -l2
  72. MOTNOTICE         "$ENLIGHTEN/bin/xdonotice -label \"ENLIGHTEN utar\" \
  73.                   -m1 \"Please mount new Volume\""
  74. NETUTAR           $ENLIGHTEN/bin/netutar
  75. NETWATCHDISK      $ENLIGHTEN/bin/netwatchdisk % &
  76. OBVIOUS           $ENLIGHTEN/bin/uobvious -d -
  77. OLNOTICE          "$ENLIGHTEN/bin/donotice -label \"ENLIGHTEN utar\" \
  78.                   -m1 \"Please mount new Volume\""
  79. PPING             $ENLIGHTEN/bin/p_ping -s
  80. REMLP             $ENLIGHTEN/bin/remlp
  81. RFDIST            $ENLIGHTEN/bin/rfdist
  82. REMLP             $ENLIGHTEN/bin/remlp
  83. SECBOOT           $ENLIGHTEN/bin/secboot
  84. SECBREAKIN        $ENLIGHTEN/bin/secbreakin
  85. SECCRON           $ENLIGHTEN/bin/seccron
  86. SECDEVICE         $ENLIGHTEN/bin/secdevice
  87. SECGROUP          $ENLIGHTEN/bin/secgroup
  88. SECHOME           $ENLIGHTEN/bin/sechome
  89. SECPASSWD         $ENLIGHTEN/bin/secpasswd
  90. SECVITAL          $ENLIGHTEN/bin/secvital
  91. KP                $ENLIGHTEN/bin/kp
  92. SF                $ENLIGHTEN/bin/sf
  93. SNAPDIFF          $ENLIGHTEN/bin/p_snapdiff %
  94. SWAP              $ENLIGHTEN/bin/p_swap HPUX
  95. ULOGOUT           $ENLIGHTEN/bin/ulogout %
  96. WATCHDISK         $ENLIGHTEN/bin/watchdisk % &
  97. XWATCHDOG         $ENLIGHTEN/bin/xwatchdog -iconic % &
  98. P_WIZPRINTER      $ENLIGHTEN/bin/p_wizprinter %
  99. P_WIZDISK         $ENLIGHTEN/bin/p_wizdisk %
  100. P_WIZUSER         $ENLIGHTEN/bin/p_wizuser %
  101. P_VULNERABLE      $ENLIGHTEN/bin/p_vulnerable %
  102. E_FINDKEY         $ENLIGHTEN/bin/e_findkey %
  103. E_NIPMASTER       $ENLIGHTEN/bin/e_nipmaster
  104. #P_ALLDISKS       $ENLIGHTEN/bin/p_alldisks
  105. #P_PARTITIONS     $ENLIGHTEN/bin/p_partition %
  106. MOUNT             /usr/sbin/mount %
  107. #P_MAKEDEV        $ENLIGHTEN/bin/p_makedev HPUX %
  108. #P_FORMAT         $ENLIGHTEN/bin/p_format  HPUX %
  109. #P_NEWPARTS       $ENLIGHTEN/bin/p_newparts %
  110. #P_HASFS          $ENLIGHTEN/bin/p_hasfs %
  111.  
  112. GETBOOTCMDS       /usr/bin/ls -d /sbin/*rc* /etc/rc.config.d
  113. BOOTFILTER        /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /usr/bin/sort -u
  114.  
  115. # The awk script is to remove the first five fields from the file(s).
  116. # For AT&T type cron use /usr/spool/cron/crontabs/*/*
  117.  
  118. GETCRONCMDS       /usr/bin/echo /usr/spool/cron/crontabs/* | /usr/bin/tr ' ' '\012' 
  119.  
  120. CRONFILTER        /usr/bin/egrep -v "^\#" % | \
  121.                   /usr/bin/awk ' { for (i = 6; i <= NF; i++) \
  122.                   printf ("\%s ", $$i); printf ("\\n"); } ' | \
  123.                   $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /usr/bin/sort -u
  124.  
  125. # Command to determine if the autologout daemon gets started in an "rc" file.
  126. FINDALDCMD        /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  127.                   /usr/bin/fgrep ulogout | /usr/bin/wc -l
  128.  
  129. # Command to determine if the diskusage watchdog gets started in an "rc" file.
  130. FINDDWDCMD        /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  131.                   /usr/bin/fgrep watchdisk | /usr/bin/wc -l
  132.  
  133. # Command to determine if the network watchdog gets started in an "rc" file.
  134. FINDNETDWDCMD     /usr/bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
  135.                   /usr/bin/fgrep bin/netwatchdisk | /usr/bin/wc -l
  136.  
  137.  
  138.  
  139. # Password mamanagement program. We could update all the files ourselves,
  140. # but why re-invent the wheel.
  141. PASSWMGMT         /usr/bin/passmgmt %
  142.  
  143. SH               /usr/bin/sh
  144. RSH              /usr/bin/rsh
  145. CSH              /usr/bin/csh
  146. KSH              /usr/bin/ksh
  147. RKSH             /usr/bin/rksh
  148. TCSH             /usr/bin/tcsh
  149.  
  150. RSHCMD            /usr/bin/remsh %
  151. RLOGIN            /usr/bin/rlogin % -l enlcmd
  152. NETCAT            $ENLIGHTEN/bin/p_write %
  153. TALK              /usr/bin/talk %
  154.  
  155. ENLWINDOW         /usr/bin/X11/xterm -e sh -c 'trap exit 1 2 3 4; \
  156.                   stty sane; clear; % ; echo ; \
  157.                   echo \"Hit Enter/Return to continue\\c\"; \
  158.                   read ans; rm -f %; exit' &
  159.  
  160. FORWINDOW         /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
  161.                   echo \"Hit Enter/Return to continue \\c\"; \
  162.                   read ans; exit'
  163.  
  164. BACKWINDOW        /usr/bin/X11/xterm -e sh -c 'stty sane; clear; % ; echo ; \
  165.                   echo \"Hit Enter/Return to continue \\c\"; \
  166.                   read ans; exit' &
  167.  
  168. REMCP             /usr/bin/rcp
  169. REMSH             /usr/bin/rsh
  170. YPCAT             /usr/bin/ypcat %
  171. YPMAKE            (cd /usr/etc/yp; make)
  172. TAPEDEVS          /usr/bin/ls -1 /dev/rmt/*
  173. CRONTAB           /usr/bin/crontab %
  174.  
  175. DOMAINNAME        /usr/bin/domainname
  176. UNAME             /usr/bin/uname -a
  177. NODENAME          /usr/bin/uname -n
  178. IFCONFIG          /usr/sbin/ifconfig
  179. LANSCAN           /usr/sbin/lanscan
  180. YPWHICH           /usr/bin/ypwhich
  181. SET_HOSTNAME      /usr/bin/uname -S 
  182.  
  183. MAKE_CMD     /usr/bin/make 
  184. XMKDIR       /usr/bin/mkdir
  185. RMALL         /usr/bin/rm -rf 
  186. KILL         /usr/bin/kill 
  187. NAMED         /usr/sbin/named 
  188. XYPCAT       /usr/bin/ypcat 
  189. YPSERV         /usr/lib/netsvc/yp/ypserv 
  190. YPPASSWDD    /usr/lib/netsvc/yp/rpc.yppasswdd
  191. YPBIND         /usr/lib/netsvc/yp/ypbind
  192. YPINIT         /usr/sbin/ypinit 
  193. MAKEDBM         /var/yp/makedbm 
  194. PS_CMD         /usr/bin/ps -ef 
  195. LANSCAN         /usr/sbin/lanscan 
  196. MOUNTP          /usr/sbin/mount -p
  197. MOUNTNFS      /usr/sbin/mount %
  198. UMOUNT          /usr/sbin/umount %
  199. EXPORTFS      /usr/sbin/exportfs %
  200. SHAREFS      /usr/sbin/exportfs
  201. UNEXPORTFS      /usr/sbin/exportfs -u
  202.  
  203. # network printters
  204.  
  205. XLPADMIN     /usr/sbin/lpadmin
  206. LPACCEPT     /usr/sbin/accept
  207. LPENABLE     /usr/bin/enable
  208. LPDISABLE   /usr/bin/disable
  209. LPCANCEL    /usr/bin/cancel
  210. LPSTAT      /usr/bin/lpstat -t
  211. STARTLPD    /usr/sbin/inetd -c
  212.  
  213. # clock set/clock sync
  214. SETTIME     $ENLIGHTEN/bin/settime
  215.  
  216. # cron
  217. XCRONTAB    /usr/bin/crontab
  218.  
  219. RENLD        $ENLIGHTEN/bin/renld
  220. RENLDC        $ENLIGHTEN/bin/renldc
  221.  
  222. REBOOT      /usr/sbin/reboot
  223. SHUTDOWN    /usr/sbin/shutdown
  224. RWALL       /usr/sbin/rwall
  225.  
  226. WALL       /usr/sbin/wall
  227. P_SHUTDOWN      $ENLIGHTEN/bin/p_shutdown %
  228. STATUSMAP       $ENLIGHTEN/bin/sm -p % -x
  229. TELNET          /usr/bin/telnet %
  230. XENLNALIVE    $ENLIGHTEN/bin/xenln_alive
  231.